package com.chunhe.sojourn.common.enums;

public enum SubmitStatus {
    未提交(0),
    已提交(1),
    撤销提交(2),;
    public int status;
    SubmitStatus(int status){
        this.status=status;
    }
    public static String getStatusName(int status) {
        for (SubmitStatus item : SubmitStatus.values()) {
            if (item.status == status) {
                return item.name();
            }
        }
        return null;// "其他";
    }
}
